package com.ruoyi.ade.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ADE Knowledge Base对象 ade_knowledge_base
 * 
 * @author wxh
 * @date 2025-07-07
 */
public class AdeKnowledgeBase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public static final String STATUS_READY = "ready";
    public static final String STATUS_RUNNING = "running";
    public static final String STATUS_FAILED = "failed";
    public static final String STATUS_SUCCESS = "success";

    /** ID */
    private Long id;

    /** ADE Base Name */
    @Excel(name = "ADE Base Name")
    private String name;

    /** Milvuse Collection Name */
    @Excel(name = "Milvuse Collection Name")
    private String collectionName;

    /** $column.columnComment */
    @Excel(name = "Positive Rate")
    private Float posRate;

    /** $column.columnComment */
    @Excel(name = "Positive Size")
    private Long posSize;

    private Long posFinishSize;

    /** $column.columnComment */
    @Excel(name = "Negative Size")
    private Long negSize;

    private Long negFinishSize;

    /** Size */
    @Excel(name = "Size")
    private Long size;

    /** Status */
    @Excel(name = "Status")
    private String status;

    /** Embed Model */
    @Excel(name = "Embed Model")
    private String embedModel;

    /** Description */
    @Excel(name = "Description")
    private String description;

    @Excel(name = "Reason")
    private String reason;

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setCollectionName(String collectionName) 
    {
        this.collectionName = collectionName;
    }

    public String getCollectionName() 
    {
        return collectionName;
    }

    public Float getPosRate() {
        return posRate;
    }

    public void setPosRate(Float posRate) {
        this.posRate = posRate;
    }

    public void setPosSize(Long posSize)
    {
        this.posSize = posSize;
    }

    public Long getPosSize() 
    {
        return posSize;
    }

    public void setNegSize(Long negSize) 
    {
        this.negSize = negSize;
    }

    public Long getNegSize() 
    {
        return negSize;
    }

    public void setSize(Long size) 
    {
        this.size = size;
    }

    public Long getSize() 
    {
        return size;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setEmbedModel(String embedModel) 
    {
        this.embedModel = embedModel;
    }

    public String getEmbedModel() 
    {
        return embedModel;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public Long getPosFinishSize() {
        return posFinishSize;
    }

    public void setPosFinishSize(Long posFinishSize) {
        this.posFinishSize = posFinishSize;
    }

    public Long getNegFinishSize() {
        return negFinishSize;
    }

    public void setNegFinishSize(Long negFinishSize) {
        this.negFinishSize = negFinishSize;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("collectionName", getCollectionName())
            .append("posRate", getPosRate())
            .append("posSize", getPosSize())
            .append("negSize", getNegSize())
            .append("size", getSize())
            .append("status", getStatus())
            .append("embedModel", getEmbedModel())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .toString();
    }
}
